package cn.emove.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 工单表
 */
@TableName("emove_order")
@Data
public class TicketEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    @TableField("order_no")
    private String orderNo;

    @TableField("order_source")
    private String orderSource;

    @TableField("describes")
    private String describes;

    @TableField("contact_name")
    private String contactName;

    @TableField("contact_phone")
    private String contactPhone;

    @TableField("submit_images")
    private String submitImages;

    @TableField("remark")
    private String remark;

    @TableField("shop_id")
    private String shopId;

    @TableField("shop_name")
    private String shopName;

    @TableField("shop_no")
    private String shopNo;

    @TableField("shop_adr")
    private String shopAdr;

    @TableField("type")
    private String type;

    @TableField("operator_id")
    private String operatorId;

    @TableField("operator_no")
    private String operatorNo;

    @TableField("operator_name")
    private String operatorName;

    @TableField("has_pay")
    private String hasPay;

    @TableField("has_picking")
    private String hasPicking;

    @TableField("status")
    private String status;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 创建人
     */
    @TableField(value = "CREATE_USER", fill = FieldFill.INSERT)
    private String createUser;
    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;
    /**
     * 更新人
     */
    @TableField(value = "UPDATE_USER", fill = FieldFill.UPDATE)
    private String updateUser;
}
